struct appdata //allvarligt. det här får mig att hata.
{
	float4 color	: COLOR0;
	float2 tex		: texcoord;
};

struct vfconn
{
	float4 color	: COLOR0;
};

vfconn main(appdata IN,uniform sampler2D decal) {
	vfconn OUT;
	float4 vWeightsBW=float4(0.3,0.59,0.11,0);
	float4 vWeightsSepia=float4(1.0,0.8,0.6,1); 
	float4 cColor=tex2D(decal, IN.tex);
	float brightness = dot(cColor,vWeightsBW);
	OUT.color=brightness*vWeightsSepia;
	OUT.color.y += 0.3;
	return OUT;
}